<!DOCTYPE html>
<html>

	<head>
		<meta charset="UTF-8">
		<title>字面量赋值方式创建对象</title>
	</head>

	<body>
		<script>
			var flower = {
				name: "长春花";
				genera: "夹竹桃";
				area: "非洲。热带雨林";
				users: "观赏或药用";
				showNmae: function() {}

			}
		</script>
	</body>

</html>